package com.bjgzy.courselive.di.component;

import com.bjgzy.courselive.di.module.MineOrderModule;
import com.bjgzy.courselive.mvp.ui.activity.MineOrderActivity;
import com.bjgzy.courselive.mvp.ui.fragment.MineOrderFragment;
import com.eduhzy.ttw.teacher.mvp.contract.MineOrderContract;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;

/**
 * @author xubo
 * @date 2018-8-3 10:37:55
 */
@ActivityScope
@Component(modules = MineOrderModule.class, dependencies = AppComponent.class)
public interface MineOrderComponent {
    void inject(MineOrderActivity activity);

    void inject(MineOrderFragment fragment);

    @Component.Builder
    interface Builder {
        @BindsInstance
        MineOrderComponent.Builder view(MineOrderContract.View view);

        MineOrderComponent.Builder appComponent(AppComponent appComponent);

        MineOrderComponent build();
    }


}